//
//  CacheDaoForfficalNews.h
//  GolfFriend
//
//  Created by Vescky on 14-2-28.
//  Copyright (c) 2014年 vescky.org. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseDao.h"
#import "DB.h"

@interface CacheDaoForfficalNews : BaseDao {
    
}

+ (id)shareCacheDaoForfficalNews;
//更新单个
- (bool)updateCacheDataWithNewsContent:(NSDictionary*)dict;

//更新一个数组
- (bool)updateCacheDataWithNewsContentArray:(NSArray*)nArray;
//获取一个数组
- (NSMutableArray*)getCacheDataLimitRow:(NSRange)limitRange newsType:(int)nType;
//获取单个
- (NSDictionary*)getCacheDataWithNewsId:(NSString*)nId;
//清除缓存
- (bool)cleanupCache;

@end
